package zhuoer.adv2;

import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class DataInput2 {

	public static void main(String[] args) {
		try {
			DataInputStream din = new DataInputStream(new FileInputStream(
					"e:/a/44.txt"));
			int i = din.readInt();
			System.out.println(i);
			System.out.println(din.readDouble());
			System.out.println(din.readBoolean());
			System.out.println(din.readBoolean());
			System.out.println(din.readByte());
		} catch (Exception e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		}

	}

}
